package it.unibz.easytravel.itemlist;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class TabManager extends TabActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		final TabHost tabHost = getTabHost();
		tabHost.addTab(tabHost.newTabSpec("tab0").setIndicator("Select Common Items")
				.setContent(new Intent(this, TabSelectItems.class)));
		tabHost.addTab(tabHost.newTabSpec("tab1").setIndicator("Select Personal Items")
				.setContent(new Intent(this, TabSelectPersonalItems.class)));
		tabHost.addTab(tabHost.newTabSpec("tab2").setIndicator("Add/Remove Personal Items")
				.setContent(new Intent(this, TabAddRemovePersonalItems.class)));


	}
}
